import { http } from '@/utils/http'

export function usePmFirmApi() {
  return {
    getAllFirmList() {
      return http.get<PmFirmForm[]>('/prod-api/admin-api/project/firm/getAllFirmList')
    },
    getFirm(id: string) {
      return http.get<PmFirmForm>('/prod-api/admin-api/project/firm/get?id=' + id)
    }
  }
}
